const mongoose = require("mongoose");
mongoose
  .connect(
    "mongodb+srv://957534369:DkqwiOIJGKPaS1Qm@cluster0.trkb3.mongodb.net/oo"
  )
  .then(() => {
    console.log("服务器启动成功" + "链接:http://localhost:3000/");
  })
  .catch((err) => {
    console.log(err);
  });
module.exports = mongoose;
